﻿@model IEnumerable<Citi.HeadCount.WebUI.Models.GOCAttributesViewModel>

@{
    ViewBag.Title = "ShowGOCsException";
}

<h2>ShowGOCsException</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th></th>
        <th>
            GOCAttribute
        </th>
        <th>
            GOCAsNumber
        </th>
        <th>
            LongDescription
        </th>
        <th>
            CorpCode
        </th>
        <th>
            ExpenseCode
        </th>
        <th>
            Status
        </th>
        <th>
            UpdatedDate
        </th>
        <th>
            SID
        </th>
        <th>
            LocalCostCode
        </th>
        <th>
            ManagerId
        </th>
        <th>
            FRSBU
        </th>
        <th>
            FRSBULongDescription
        </th>
        <th>
            FRSOU
        </th>
        <th>
            FRSOULongDescription
        </th>
        <th>
            Function
        </th>
        <th>
            FunctionShortDescription
        </th>
        <th>
            LVID
        </th>
        <th>
            LVIDLongDescription
        </th>
        <th>
            ManagedGeography
        </th>
        <th>
            ManagedGeographyDescription
        </th>
        <th>
            ManagedSegmentId
        </th>
        <th>
            ManagedSegmentLongDescription
        </th>
        <th>
            ReferenceDate
        </th>
        <th>
            LastUpdate
        </th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.Id }) |
            @Html.ActionLink("Details", "Details", new { id=item.Id }) |
            @Html.ActionLink("Delete", "Delete", new { id=item.Id })
        </td>
        <td>
            @item.GOCAttribute
        </td>
        <td>
            @item.GOCAsNumber
        </td>
        <td>
            @item.LongDescription
        </td>
        <td>
            @item.CorpCode
        </td>
        <td>
            @item.ExpenseCode
        </td>
        <td>
            @item.Status
        </td>
        <td>
            @item.UpdatedDate
        </td>
        <td>
            @item.SID
        </td>
        <td>
            @item.LocalCostCode
        </td>
        <td>
            @item.ManagerId
        </td>
        <td>
            @item.FRSBU
        </td>
        <td>
            @item.FRSBULongDescription
        </td>
        <td>
            @item.FRSOU
        </td>
        <td>
            @item.FRSOULongDescription
        </td>
        <td>
            @item.Function
        </td>
        <td>
            @item.FunctionShortDescription
        </td>
        <td>
            @item.LVID
        </td>
        <td>
            @item.LVIDLongDescription
        </td>
        <td>
            @item.ManagedGeography
        </td>
        <td>
            @item.ManagedGeographyDescription
        </td>
        <td>
            @item.ManagedSegmentId
        </td>
        <td>
            @item.ManagedSegmentLongDescription
        </td>
        <td>
            @String.Format("{0:g}", item.ReferenceDate)
        </td>
        <td>
            @String.Format("{0:g}", item.LastUpdate)
        </td>
    </tr>
}

</table>

